#include <stdio.h>

int main()
{
    int ch;
    size_t size = 0;
    while((ch = getchar()) != EOF) {
        printf("%02X ", ch);
        if ((++size & 0x0F) == 0) {
            putchar('\n');
        }
    }
    putchar('\n');
    return 0;
}
